True while a sprite effect is playing on this object. An effect whose tracks all pulse once is over after its last frame.
Works differently on Game Boy - sprite_effect_active says whether a sprite effect is still playing on the Game Boy; the parts of an effect it cannot play (a Wobble or Distort look the console cannot make) still count for how long the effect lasts.
Works differently on Game Boy Color - sprite_effect_active says whether a sprite effect is still playing on the Game Boy Color; the parts of an effect it cannot play (a Wobble or Distort look the console cannot make) still count for how long the effect lasts.
Works differently on Sega Genesis - The Sega Genesis plays a sprite effect its own way. This version plays the Tint track (the object's colors mixed toward the effect's color, with the effect's timing). A sprite cannot be bent, turned, resized, blocked or faded here, so the Wobble, Distort, Scale, Rotate, Blocks and See-through tracks do not show (the build says which effect has one); use Make a sprite from this effect for those.
On other consoles this differs: see Side by side and How the consoles differ.
sprite_effect_active() -> boolbool
Gives back true while a sprite effect is playing on this object. An effect whose tracks all pulse once is over after its last frame, and the effect ends when the object is destroyed or its room ends.
if (sprite_effect_active()) {
x += 1;
}The walker steps to the right while its effect plays.